import java.util.ArrayList;
import java.util.Scanner;


public class Input {
	Scanner in;
	Field field;
	int playerId;
	Input(Scanner in){
		this.in = in;
	}
	
	public void applyPlayerTurn(Field field, int playerId){
		this.field = field;
		this.playerId = playerId;
	}
	
	private ArrayList<Soldier> getTroops(){
		ArrayList<Soldier> Troops = new ArrayList<Soldier>();
		int k = in.nextInt();
		
		for (int i = 0; i < k; i++) {
			int peopleCount = in.nextInt();
			int destination = in.nextInt();
			int depature = in.nextInt();
			
		}		
		
		return Troops;
	}
	
	private boolean checkTower(int id){
		return field.towers.length < id || id < 0;
	}
	
	
	private boolean checkCount(int id, int n){
		Tower current = field.towers[id];
		boolean belongToPlayer = true;
		return true;
	}
}
